<!-- plugins.html -->




<!-- modal -->
<div class="modal modal-msg">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">ret_code</h4>
            </div>
            <div class="modal-body">
                <p>ret_msg</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close
                </button>
                <!-- <button type="button" class="btn btn-primary">Save changes</button> -->
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->


<!-- 登陆弹出框在这里开始 -->
<div style="display: none;" class="modal inmodal fade in" id="modal-form" tabindex="-1"
     role="dialog" aria-hidden="false">
    <div class="modal-dialog">
        <div class="modal-content login-box">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span
                        aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">登陆中心</h4>
            </div>
            <div class="modal-body">

                <form action="{% url 'login' %}" method="post">
                    {% csrf_token %}
                    <div class="form-group has-feedback">
                        <input type="text" class="form-control" placeholder="username"
                               name="username"
                               required>
                        <span class="glyphicon glyphicon-user form-control-feedback"></span>
                    </div>
                    <div class="form-group has-feedback">
                        <input type="password" class="form-control" placeholder="Password"
                               name="password"
                               required>
                        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                    </div>
                    <div class="row">
                        <div class="col-xs-6">
                            <button type="submit" class="btn btn-primary btn-block btn-flat">点击登录
                            </button>
                        </div>
                        <!-- /.col -->
                        <div class="col-xs-6">
                            <a href="{% url 'index' %}" class="btn btn-primary btn-block btn-flat">返回首页</a>
                        </div>
                        <!-- /.col -->
                    </div>
                </form>

            </div>
        </div>
    </div>
</div>
<!-- 登陆弹出框结束 -->

<!-- /.plugins.html -->